package com.pth.dao;

import java.util.List;

import com.pth.model.Knowledge;

public interface KnowledgeDAO {

	public void save(Knowledge knowledge);
	
	public void delete(Knowledge knowledge);
	
	public void update(Knowledge knowledge);
	
	public Knowledge getKnowledgeByid(int id);
	
	public List<Knowledge> getAllKnowledges(final int pagesize,final int offset);
	
	public List<Knowledge> getKnowledgesByScanNum(final int pagesize,final int offset);
	
	
	public  List<Knowledge> getAllKnowledges();
	
	
	public int getAllNum();
	
}
